package com.no1.musicmgr.aop;

import org.aspectj.lang.ProceedingJoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class MusicMgrAspect {
//    @Pointcut("execution(* com.no1.musicmgr.service.*.*(..))")
//    public void pointCut(){}

//    @Around("pointCut()")
//    public Object handleException(ProceedingJoinPoint point) throws Throwable {
//        Object obj = null;
//        try {
//            obj = point.proceed();
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//        return obj;
//    }

}
